package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "裁判文书")
public class BusinessJudgement implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "身份")
    private String identity;
    @ApiModelProperty(value = "判决时间")
    private Date decisionTime;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "判决结果")
    private String decisionResult;
    @ApiModelProperty(value = "详情")
    private String detail;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity == null ? null : identity.trim();
    }

    public Date getDecisionTime() {
        return decisionTime;
    }

    public void setDecisionTime(Date decisionTime) {
        this.decisionTime = decisionTime;
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getDecisionResult() {
        return decisionResult;
    }

    public void setDecisionResult(String decisionResult) {
        this.decisionResult = decisionResult == null ? null : decisionResult.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "BusinessJudgement{" +
                "id=" + id +
                ", identity='" + identity + '\'' +
                ", decisionTime=" + decisionTime +
                ", enterId=" + enterId +
                ", decisionResult='" + decisionResult + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}